package com.wq.myspring.eventmode;

/**
 * @PackageName: com.wq.myspring.eventmode
 * @ClassName Event
 * @Description: TODO 定义事件
 * @Author Wenqiang
 * @Date 2021/07/18 0:26
 * @Version V1.0
 */
public class Event {

	private String type;

	public Event() {
	}

	public Event(String type) {
		this.type = type;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return "[" +hashCode()+ "] Event{" +
				"type='" + type + '\'' +
				'}';
	}
}
